//1 引入连接数据库的工具类
let mongoose = require('../util/dbUtile')
// 2 创建数据结构（用户的）
let orderSchema = mongoose.Schema({
   
    times:String,
    userId:String,
    phone:Number,
    address:String,
    id:String,
    status:[]
});
//3 创建数据的模型
let orderModel = mongoose.model('orderModel', orderSchema, "order");

//4 导出用户模型(***)
module.exports = orderModel
